<tagLib name='html'/>
<div class='pageContent'>
    <form action='__URL__/do_edit' method='post' enctype='multipart/form-data' onsubmit='return iframeCallback(this, dialogAjaxDone);' class='pageForm required-validate'>
        <div class='pageFormContent pageFormContent600' layoutH='56'>
            <p>
                <label>姓名</label>
                <input type='text' name='staff_name' value='{$arr_info["staff_name"]}' class='required' />
            </p>
            <p>
                <label>性别</label>
                <html:radio radios='arr_gender' name='gender' checked='arr_info' checked_key='gender' class='required' />
            </p>
            <p>
                <label>生日</label>
                <span>
                    <input type='text' name='birthday' value='{$arr_info["birthday"]}' class='date required width200' datefmt='yyyy-MM-dd' readonly='true' />
                    <a href='javascript:void(0);' class='inputDateButton'>选择</a>
                </span>
            </p>
            <p>
                <label>头像</label>
                <input type='file' name='avatar' />
            </p>
            <p class='height_auto'>
                <label>预览</label>
                {$arr_info['avatar']|show_img}
            </p>
            <p>
                <label>身份证号</label>
                <input type='text' name='id_card' value='{$arr_info["id_card"]}' class='required digits' minlength='15' maxlength='18' />
            </p>
            <p>
                <label>身份证照片</label>
                <input type='file' name='id_card_photo' />
            </p>
            <p class='height_auto'>
                <label>预览</label>
                {$arr_info['id_card_photo']|show_img}
            </p>
            <p>
                <label>民族</label>
                <input type='text' name='nation' value='{$arr_info["nation"]}' class='required' />
            </p>
            <p>
                <label>籍贯</label>
                <input type='text' name='hometown' value='{$arr_info["hometown"]}' class='required' />
            </p>
            <p>
                <label>户籍所在地</label>
                <input type='text' name='domicile' value='{$arr_info["domicile"]}' />
            </p>
            <p>
                <label>现居住地址</label>
                <input type='text' name='address' value='{$arr_info["address"]}' />
            </p>
            <p>
                <label>手机</label>
                <input type='text' name='mobile' value='{$arr_info["mobile"]}' class='required phone' />
            </p>
            <p>
                <label>电话</label>
                <input type='text' name='telephone' value='{$arr_info["telephone"]}' class='phone' />
            </p>
            <p>
                <label>邮箱</label>
                <input type='text' name='email' value='{$arr_info["email"]}' class='email' />
            </p>
            <p>
                <label>QQ</label>
                <input type='text' name='qq' value='{$arr_info["qq"]}' class='digits' />
            </p>
            <p>
                <label>紧急联系人</label>
                <input type='text' name='emergency_contact' value='{$arr_info["emergency_contact"]}' class='required' />
            </p>
            <p>
                <label>紧急联系人电话</label>
                <input type='text' name='emergency_contact_phone' value='{$arr_info["emergency_contact_phone"]}' class='required phone' />
            </p>
            <p>
                <label>紧急联系人与本人关系</label>
                <input type='text' name='emergency_contact_relationship' value='{$arr_info["emergency_contact_relationship"]}' class='required' />
            </p>
            <p>
                <label>是否在职</label>
                <html:radio radios='arr_status' radios_key='onwork' name='is_on_work' checked='arr_info' checked_key='is_on_work' class='required' />
            </p>
            <p>
                <label>状态</label>
                <html:select options='arr_status["default"]' selected='arr_info["status"]' name='status' style='combox' />
            </p>
            
            <input type='hidden' name='staff_id' value='{$arr_info["staff_id"]}' />
        </div>
        
        <include file='$str_form_bar_html' />
    </form>
</div>
